Hip_D3D11_Renderer

Undocumented in source.
version(Windows && DirectX)
class Hip_D3D11_Renderer : IHipRendererImpl {}

Members

Functions

begin
void begin()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear(ubyte r, ubyte g, ubyte b, ubyte a)
Undocumented in source. Be warned that the author may not have intended to support it.
createD3DDevice
void createD3DDevice()
Undocumented in source. Be warned that the author may not have intended to support it.
createD3DSwapChainForCoreWindow
void createD3DSwapChainForCoreWindow(HipExternalCoreWindow wnd, HipRendererConfig* config)
Undocumented in source. Be warned that the author may not have intended to support it.
createFrameBuffer
IHipFrameBuffer createFrameBuffer(int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
createIndexBuffer
IHipIndexBufferImpl createIndexBuffer(index_t count, HipBufferUsage usage)
Undocumented in source. Be warned that the author may not have intended to support it.
createShader
Shader createShader()
Undocumented in source. Be warned that the author may not have intended to support it.
createShaderVar
ShaderVar* createShaderVar(ShaderTypes shaderType, UniformType uniformType, string varName, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
createTexture
IHipTexture createTexture()
Undocumented in source. Be warned that the author may not have intended to support it.
createVertexArray
IHipVertexArrayImpl createVertexArray()
Undocumented in source. Be warned that the author may not have intended to support it.
createVertexBuffer
IHipVertexBufferImpl createVertexBuffer(size_t size, HipBufferUsage usage)
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
drawIndexed
void drawIndexed(index_t indicesSize, uint offset)
Undocumented in source. Be warned that the author may not have intended to support it.
drawVertices
void drawVertices(index_t count, uint offset)
Undocumented in source. Be warned that the author may not have intended to support it.
end
void end()
Undocumented in source. Be warned that the author may not have intended to support it.
hasErrorOccurred
bool hasErrorOccurred(string err, string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
init
bool init(HipWindow window)
Undocumented in source. Be warned that the author may not have intended to support it.
initD3DDebug
void initD3DDebug()
Undocumented in source. Be warned that the author may not have intended to support it.
initD3DForCoreWindow
void initD3DForCoreWindow(HipExternalCoreWindow wnd, HipRendererConfig* config)
Undocumented in source. Be warned that the author may not have intended to support it.
initD3DFowHWND
void initD3DFowHWND(HWND hwnd, HipRendererConfig* config)
Undocumented in source. Be warned that the author may not have intended to support it.
initD3DRenderTargetView
void initD3DRenderTargetView()
Undocumented in source. Be warned that the author may not have intended to support it.
initExternal
bool initExternal()
Undocumented in source. Be warned that the author may not have intended to support it.
isBlendingEnabled
bool isBlendingEnabled()
Undocumented in source. Be warned that the author may not have intended to support it.
isRowMajor
bool isRowMajor()
Undocumented in source. Be warned that the author may not have intended to support it.
queryMaxSupportedPixelShaderTextures
int queryMaxSupportedPixelShaderTextures()
Undocumented in source. Be warned that the author may not have intended to support it.
setColor
void setColor(ubyte r, ubyte g, ubyte b, ubyte a)
Undocumented in source. Be warned that the author may not have intended to support it.
setColorMask
void setColorMask(ubyte r, ubyte g, ubyte b, ubyte a)
Undocumented in source. Be warned that the author may not have intended to support it.
setDepthTestingEnabled
void setDepthTestingEnabled(bool )
Undocumented in source. Be warned that the author may not have intended to support it.
setDepthTestingFunction
void setDepthTestingFunction(HipDepthTestingFunction )
Undocumented in source. Be warned that the author may not have intended to support it.
setErrorCheckingEnabled
void setErrorCheckingEnabled(bool enable)
Undocumented in source. Be warned that the author may not have intended to support it.
setRendererMode
void setRendererMode(HipRendererMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
setShader
void setShader(Shader s)
Undocumented in source. Be warned that the author may not have intended to support it.
setState
void setState()

Create a rasterizer state

setStencilOperation
void setStencilOperation(HipStencilOperation stencilFail, HipStencilOperation depthFail, HipStencilOperation stencilAndDephPass)
Undocumented in source. Be warned that the author may not have intended to support it.
setStencilTestingEnabled
void setStencilTestingEnabled(bool bEnable)
Undocumented in source. Be warned that the author may not have intended to support it.
setStencilTestingFunction
void setStencilTestingFunction(HipStencilTestingFunction passFunc, uint reference, uint mask)
Undocumented in source. Be warned that the author may not have intended to support it.
setStencilTestingMask
void setStencilTestingMask(uint mask)
Undocumented in source. Be warned that the author may not have intended to support it.
setViewport
void setViewport(Viewport v)
Undocumented in source. Be warned that the author may not have intended to support it.
setWindowMode
bool setWindowMode(HipWindowMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

assertExit
void assertExit(HRESULT hres, string msg, string file, size_t line, string mod, string func)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

blend
D3D11_BLEND_DESC blend;
Undocumented in source.
blendState
ID3D11BlendState blendState;
Undocumented in source.
currentShader
Shader currentShader;
Undocumented in source.
currentViewport
Viewport currentViewport;
Undocumented in source.
hasDebugAvailable
bool hasDebugAvailable;
Undocumented in source.
window
HipWindow window;
Undocumented in source.

Variables

dxgiQueue
IDXGIInfoQueue dxgiQueue;
Undocumented in source.

Inherited Members

From IHipRendererImpl

init
bool init(HipWindow window)
Undocumented in source.
initExternal
bool initExternal()
Undocumented in source.
isRowMajor
bool isRowMajor()
Undocumented in source.
setErrorCheckingEnabled
void setErrorCheckingEnabled(bool enable)
Undocumented in source.
createShader
Shader createShader()
Undocumented in source.
createShaderVar
ShaderVar* createShaderVar(ShaderTypes shaderType, UniformType uniformType, string varName, size_t length)
Undocumented in source.
createFrameBuffer
IHipFrameBuffer createFrameBuffer(int width, int height)
Undocumented in source.
createVertexArray
IHipVertexArrayImpl createVertexArray()
Undocumented in source.
createVertexBuffer
IHipVertexBufferImpl createVertexBuffer(size_t size, HipBufferUsage usage)
Undocumented in source.
createIndexBuffer
IHipIndexBufferImpl createIndexBuffer(index_t count, HipBufferUsage usage)
Undocumented in source.
createTexture
IHipTexture createTexture()
Undocumented in source.
queryMaxSupportedPixelShaderTextures
int queryMaxSupportedPixelShaderTextures()
Undocumented in source.
setColor
void setColor(ubyte r, ubyte g, ubyte b, ubyte a)
Undocumented in source.
setViewport
void setViewport(Viewport v)
Undocumented in source.
setWindowMode
bool setWindowMode(HipWindowMode mode)
Undocumented in source.
setDepthTestingEnabled
void setDepthTestingEnabled(bool )
Undocumented in source.
setDepthTestingFunction
void setDepthTestingFunction(HipDepthTestingFunction )
Undocumented in source.
setStencilTestingEnabled
void setStencilTestingEnabled(bool )
Undocumented in source.
setStencilTestingMask
void setStencilTestingMask(uint mask)
Undocumented in source.
setColorMask
void setColorMask(ubyte r, ubyte g, ubyte b, ubyte a)
Undocumented in source.
setStencilTestingFunction
void setStencilTestingFunction(HipStencilTestingFunction passFunc, uint reference, uint mask)

When pass func evaluates to true, then it is said to be passed

setStencilOperation
void setStencilOperation(HipStencilOperation stencilFail, HipStencilOperation depthFail, HipStencilOperation stencilAndDephPass)
Undocumented in source.
hasErrorOccurred
bool hasErrorOccurred(string err, string line, size_t line)
Undocumented in source.
begin
void begin()
Undocumented in source.
setRendererMode
void setRendererMode(HipRendererMode mode)
Undocumented in source.
drawIndexed
void drawIndexed(index_t count, uint offset)
Undocumented in source.
drawVertices
void drawVertices(index_t count, uint offset)
Undocumented in source.
end
void end()
Undocumented in source.
clear
void clear()
Undocumented in source.
clear
void clear(ubyte r, ubyte g, ubyte b, ubyte a)
Undocumented in source.
dispose
void dispose()
Undocumented in source.

Meta